package com.zangyi.service;

import com.zangyi.common.Comment;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

public interface CommentService {
    boolean addComment(String username, String title, String comment);

    void delComment(Integer comId);

    List<Map<String,Object>> getTitleComment(String title, String username);

    List<Comment> getUserComments(String username);

    boolean collectionComment(Integer comId,String username);

    void delCollection(Integer colId);

    void toForward(Integer comId, String username);
}
